package com.gljx.web.dao;

import com.gljx.web.Entity.Person;
import com.gljx.web.Entity.Sharecartworegentry;
import com.gljx.web.Entity.Student;
import org.apache.ibatis.annotations.Param;

import java.util.List;

import org.springframework.stereotype.Component;

@Component
public interface SharecartworegentryMapper {
    int deleteByPrimaryKey(String fid);

    int insert(Sharecartworegentry record);

    int insertSelective(Sharecartworegentry record);

    Sharecartworegentry selectByPrimaryKey(String fid);

    int updateByPrimaryKeySelective(Sharecartworegentry record);

    int updateByPrimaryKey(Sharecartworegentry record);

    List<Sharecartworegentry> selectSharecartworegentryByFparentid(@Param("fid") String fid, @Param("cfstudentname") String cfstudentname);

    //person.getCfcoachid() 教练组id
    List<Sharecartworegentry> selectPersonCarByFid(String id);

    void deleteByFparentid(String fparentid);

    //此方法查询的内容不是外面列表查询的内容是点击查看的内容
    List<Sharecartworegentry> selectSharecartworegentryByFparentidAstwo(String fid);

    List<Sharecartworegentry> selectByWindowsPageAsSharecartworegentry(@Param("name") String name, @Param("cflcsjid") String cflcsjid);

    List<Sharecartworegentry> selectStudentById(String id);

    String[] selectStudentidByParentid(String fparentid);
}